package com.nice.nice201110.service;

import com.nice.nice201110.entity.TBaseCapital;
import com.nice.nice201110.mapper.SelectBaseMapper;
import com.nice.nice201110.vo.SelectBaseVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;


@Service
public class TbaseSelectService {

    //资产dao
    @Autowired
    SelectBaseMapper selectBaseMapper;

    /** 查询资产根据状态 */
    public List<SelectBaseVo> getTBaseCapitalStatus(Integer isdelete){
        return selectBaseMapper.selectCapitalByStatus(isdelete);
    }
    /** 查询资产所有的数据 */
    public List<SelectBaseVo> getTBaseCapitalList(){
        return selectBaseMapper.selectCapitalByAll();
    }

    /** 查询疾病根据状态 */
    public List<SelectBaseVo> getTBaseDiseaseStatus(Integer isdelete){
        return selectBaseMapper.selectDiseaseByStatus(isdelete);
    }
    /** 查询疾病所有的数据 */
    public List<SelectBaseVo> getTBaseDiseaseList(){
        return selectBaseMapper.selectDiseaseByAll();
    }

    /** 查询种族根据状态 */
    public List<SelectBaseVo> getTBaseRaceStatus(Integer isdelete){
        return selectBaseMapper.selectRaceByStatus(isdelete);
    }
    /** 查询种族所有的数据 */
    public List<SelectBaseVo> getTBaseRaceList(){
        return selectBaseMapper.selectRaceByAll();
    }

    /** 查询症状根据状态 */
    public List<SelectBaseVo> getTBaseSymptomsStatus(Integer isdelete){
        return selectBaseMapper.selectSymptomsByStatus(isdelete);
    }
    /** 查询症状所有的数据 */
    public List<SelectBaseVo> getTBaseSymptomsList(){
        return selectBaseMapper.selectSymptomsByAll();
    }


}
